package com.renrendoc.network.flow.beans;

public class NginxLogEntry {
    public String getTimestamp() {
        return timestamp;
    }

    public String getIp() {
        return ip;
    }

    public String getUrl() {
        return url;
    }

    public String getUserAgent() {
        return userAgent;
    }

    public int getStatus() {
        return status;
    }

    private String timestamp;
    private String ip;
    private String url;
    private String userAgent;
    private int status;

    public NginxLogEntry(String timestamp, String ip, String url, String userAgent, int status) {
        this.timestamp = timestamp;
        this.ip = ip;
        this.url = url;
        this.userAgent = userAgent;
        this.status = status;
    }

    @Override
    public String toString() {
        return "LogEntry{" +
                "timestamp='" + timestamp + '\'' +
                ", ip='" + ip + '\'' +
                ", url='" + url + '\'' +
                ", userAgent='" + userAgent + '\'' +
                ", status=" + status +
                '}';
    }
}

